﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class masterpage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.zoekKnop.Click += new System.EventHandler(this.button_Click);
    }
    protected void RememberMe_CheckedChanged(object sender, EventArgs e)
    {

    }
    protected void LoginButton_Click(object sender, EventArgs e)
    {
        
    }
    protected void Password_TextChanged(object sender, EventArgs e)
    {

    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Response.Redirect("Register.aspx");
    }
    protected void zoekGames(object sender, EventArgs e)
    {
        string text = TextBox1.Text;
       // ViewState["zoekText"] = text.ToString();
        //Response.Redirect("ShowProducts.aspx");
    }
    protected void button_Click(object sender, System.EventArgs e)
    {
        string url = "zoekresultaat.aspx?";
        url += "zoekopdracht=" + this.TextBox1.Text.ToString();
        Response.Redirect(url);
    }
    public void refreshControl()
    {
        WebUserControl1.refresh();
       //UserControl schaap = (UserControl) this.FindControl("WebUserControl1");
       //schaap.refresh();
    }

    


}
